#ifndef GLOBALDEF_H
#define GLOBALDEF_H

/*
*******************************************************************************
* ansi c source code
* file name:
*	GlobalDef.h
* abstract:
*	to define the types and constants used by most files
* reference:
* 
* author:Fangming He
*********************************************************************************
*/

/* define the max size of the fft */

#define Pilot_Space 8     /* the pilot space betweeen adjacment pilots */
#define PI (4.0 * atan(1.0))

#define MaxDelay 32      /* the max delay of the channel */
#define FRAMENUM 10     /* the frame number in the scenario */
#define SLOTNUM  12     /* the slot number in a frame */
#define SYMBNUM  10      /* the symbol numbers in one slot */
#define DATANUM 895      /* the modulated symbol exclude the pilot in one ofdm symbol */
#define DELTAFC 1.24
#define Threshold 0.2
#define PILOT_NUM 17
#define BLOCK_SIZE 128
#define PILOT_NUM1 1
/* define the struct for complex FFT */


struct Complex  
{
	double real;         /* the real part of the complex2 */
	double imag;          /* the imaginary part of the complex2*/
};

#endif